package com.ibm.risk.irmp.rule.data;

import java.util.Collection;
import java.util.Map;

public interface DataExporter {

    public final static String FACT_TYPE = "FactType";

    String getDataAccessType();

    /**
     * Export rule engine result data
     *
     * @param params
     * @param dataList
     * @return how many data exported
     */
    <T> int exportData(Map<String, Object> params, Collection<T> dataList);
}
